<?php
/**
 * Yaconf - Yet Another Configurations Container
 *
 * Runtime configuration
 * yaconf.directory
 * Path to directory which all ini configuration files are placed in
 * yaconf.check_delay
 * In which interval Yaconf will detect ini file's change(by directory's mtime),
 * if it is set to zero, you have to restart php to reloading configurations.
 *
 * @link https://github.com/laruence/yaconf
 */
class Yaconf
{

    /**
     * @param string $name
     * @param mixed|NULL $default
     * @return mixed
     * @link https://www.php.net/manual/zh/yaconf.get.php
     */
    public static function get(string $name, mixed $default = NULL):mixed {}

    /**
     * @param string $name
     * @return bool
     * @link https://www.php.net/manual/zh/yaconf.has.php
     */
    public static function has(string $name):bool {}

    /**
     * @param string $name
     * @return array|null
     */
    public static function __debug_info(string $name):?array {}
}
